//
//  LYLCommentListViewController.h
//  ONE
//
//  Created by dllo on 16/6/13.
//  Copyright © 2016年 GroupNine. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LYLCommonHeaderView.h"
#import "LYLCommonFooterView.h"

typedef NS_ENUM(NSUInteger, LYLCommentListType) {
    LYLCommentListTypeNone,
    LYLCommentListTypeReadComments,
    LYLCommentListTypeMusicComments,
    LYLCommentListTypeMovieStories,
    LYLCommentListTypeMovieReviews,
    LYLCommentListTypeMovieComments,
};

@interface LYLCommentListViewController : UITableViewController

/** 计算评论视图高度block */
@property (nonatomic, strong) void (^finishedCalculateHeigt)(CGFloat height);

- (instancetype)initWithCommentListType:(LYLCommentListType)commentListType;

- (instancetype)initWithCommentListType:(LYLCommentListType)commentListType headerViewType:(LYLHeaderViewType)headerViewType footerViewType:(LYLFooterViewType)footerViewType;

- (void)configureViewForReadDetailWithReadType:(LYLReadType)readType itemId:(NSString *)itemId;

- (void)configureViewForMusicDetailWithItemId:(NSString *)itemId;

- (void)configureViewForMovieDetailWithItemId:(NSString *)itemId;

- (void)getData;

@end
